package main

import (
	"fmt"
	"github.com/json-iterator/go"
)

func main(){
	var m_json = []byte(`{"age":12,"name":"jmz","sex":1}`)

	m := make(map[string]interface{})
	var json = jsoniter.ConfigCompatibleWithStandardLibrary

	err := json.Unmarshal(m_json,&m)
	if err != nil {
		fmt.Printf("解析失败：%s\n",err)
	}
	fmt.Println(m["age"])
}
